package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.OrderDeliveryDetailEntity;

/**
 * 采购订单交货明细Mapper接口
 *
 * @author cxl
 * @date 2024-06-06
 */
public interface OrderDeliveryDetailMapper extends BaseMapper<OrderDeliveryDetailEntity> {
    /**
     * 查询采购订单交货明细
     *
     * @param id 采购订单交货明细ID
     * @return 采购订单交货明细
     */
    public OrderDeliveryDetailEntity selectOrderDeliveryDetailEntityById(String id);

    /**
     * 查询采购订单交货明细列表
     *
     * @param orderDeliveryDetailEntity 采购订单交货明细
     * @return 采购订单交货明细集合
     */
    public List<OrderDeliveryDetailEntity> selectOrderDeliveryDetailEntityList(OrderDeliveryDetailEntity orderDeliveryDetailEntity);

    /**
     * 新增采购订单交货明细
     *
     * @param orderDeliveryDetailEntity 采购订单交货明细
     * @return 结果
     */
    public int insertOrderDeliveryDetailEntity(OrderDeliveryDetailEntity orderDeliveryDetailEntity);

    /**
     * 修改采购订单交货明细
     *
     * @param orderDeliveryDetailEntity 采购订单交货明细
     * @return 结果
     */
    public int updateOrderDeliveryDetailEntity(OrderDeliveryDetailEntity orderDeliveryDetailEntity);

    /**
     * 删除采购订单交货明细
     *
     * @param id 采购订单交货明细ID
     * @return 结果
     */
    public int deleteOrderDeliveryDetailEntityById(String id);

    /**
     * 批量删除采购订单交货明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderDeliveryDetailEntityByIds(String[] ids);
}
